


<table class="layui-table" >
	<colgroup>
		<col width="100"><col>
		<col width="200"><col>
	</colgroup>
    <tr>
        <td class="w">Id</td><td th:text="${measurementUnit.id}"></td>
        <td class="w">公司名称</td><td th:text="${measurementUnit.companyId}"></td>
    </tr>
    <tr>
        <td class="w">编码</td><td th:text="${measurementUnit.decode}"></td>
        <td class="w">名称</td><td th:text="${measurementUnit.name}"></td>
    </tr>
    <tr>
        <td class="w">主计量</td><td th:text="${measurementUnit.isMain}"></td>
        <td class="w">单计量</td><td th:text="${measurementUnit.type}"></td>
    </tr>
    <tr>
        <td class="w">系统预设</th><td th:text="${measurementUnit.isPreinstall}"></td>
        <td class="w">备注</th><td th:text="${measurementUnit.remark}"></td>
    </tr>
    <tr>   
        <td class="w">有效时间</th>
         <td th:text=" ${measurementUnit.ctime}==null?'':${#dates.format(measurementUnit.ctime,'yyyy-MM-dd HH:mm:ss')}"></td>
    </tr>
</table>

<button class="layui-btn" style="margin-left:40%;" id="closeBtn">关闭</button>

<script>
//关闭按钮
$("#closeBtn").click(function(){
	  layer.closeAll();
})
</script>
<script type="text/html" id="statusTpl">
{{#if (d.status==0){}}
  		未审核
{{# }else if(d.status==1) {}}
		审核
{{# }else if(d.status==2) {}}
		关闭
{{# }else if(d.status==3) {}}
		完成
{{#  } }}
</script>